package com.example.AIstudy.domain;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import lombok.EqualsAndHashCode;

@Data
@TableName("compositiondetail")
@EqualsAndHashCode(callSuper = false)
public class CompositionDetail {
    //自增的主键
    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    //内容评分
    @TableField("contentScore")
    public int contentScore;

    //内容评分依据
    @TableField("contentComment")
    public String contentComment;

    //语法规范评分
    @TableField("syntaxScore")
    public int syntaxScore;

    //语法规范评分依据
    @TableField("syntaxComment")
    public String syntaxComment;

    //组织结构评分
    @TableField("structureScore")
    public int structureScore;

    //组织结构评分
    @TableField("syntaxComment")
    public String structureComment;

    //总分
    @TableField(exist = false)
    public int totalScore;

    @TableField("detailedSuggestions")
    public String detailedSuggestions;
}
